package voip.directory;

import java.io.Serializable;

public class User_Entry implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	String name;
	String ip_address;
	
	//Constructor
	public User_Entry(String name,String ip_address){
		this.name = name;
		this.ip_address = ip_address;
	}
	
	String getIp(){
		return this.ip_address;
	}
	

	
	public void setIp(String ip){
		this.ip_address = ip;
	}
	
	public String getName(){
		return this.name;
	}
	
	public String toString(){
		return getName() + ":" + getIp();
		
	}
}
